﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace XBMC.Cache.Manager.Options
{
    public partial class EventDetails : Form
    {
        private string m_message;

        public EventDetails(string message)
        {
            InitializeComponent();

            m_message = message;
        }

        private void EventDetails_Load(object sender, EventArgs e)
        {
            richTextBox1.Text = m_message;
        }

        private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
        {
            try
            {
                System.Diagnostics.Process.Start(e.LinkText);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
    }
}
